import request from '@/utils/request'
// 合约列表接口
export function contractListAPI(params: any) {
    return request({
        url: '/task/myContractAllList',
        params: params
    })
}
// 合约详情列表接口
export function contractDetailsListAPI(params: any) {
    return request({
        url: '/task/contractAllList',
        params: params
    })
}
// 合约签约接口
export function contractOperationAPI(data: any) {
    return request({
        url: '/contract/isContract',
        method: 'put',
        data
    })
}
// 合约进度评估接口
export function contractGradeEdit(data: any) {
    return request({
        url: '/contract/grade/edit',
        method: 'put',
        data
    })
}